// 权限下拉菜单名称
export const permissionMenuRes = {
  payfaz_settings_paychannels: "支付通道",
  payfaz_settings_paychannelcountry: "通道支持国家",
  payfaz_settings_syscompany: "公司主体管理",
  payfaz_settings_merrechargecard: "商户充值账号管理",
  payfaz_settings_sysbanks: "平台银行账户",
  ExAssistant_settings_syscompany: "公司主体管理",
  ExAssistant_settings_merrechargecard: "商户充值账号管理",
  ExAssistant_settings_sysbanks: "平台银行账户",
  payfaz_settings_currency: "法币币种",
  ExAssistant_settings_currency: "法币币种",

  payfaz_review_rules: "审核规则",
  payfaz_review_groups: "审核组",
  payfaz_review_user: "审核人员",
  payfaz_review_walletsend: "钱包提币审核",
  payfaz_review_recharge: "充值审核",
  payfaz_review_withdraw: "提现审核",
  payfaz_review_payment: "付款审核",
  payfaz_review_customer: "客户审核",

  ExAssistant_review_rules: "审核规则",
  ExAssistant_review_groups: "审核组",
  ExAssistant_review_user: "审核人员",
  ExAssistant_review_walletsend: "钱包提币审核",
  ExAssistant_review_recharge: "充值审核",
  ExAssistant_review_withdraw: "提现审核",
  ExAssistant_review_payment: "付款审核",
  ExAssistant_review_customer: "客户审核",

  payfaz_merchant_channels: "商户支付通道",
  payfaz_merchant_list: "商户列表",
  payfaz_common_user_list: "普通用户列表",
  payfaz_merchant_userlist: "登录账号",
  payfaz_merchant_kyc: "商户KYC资料",
  payfaz_merchant_currency: "商户费率配置",

  ExAssistant_merchant_list: "商户列表",
  ExAssistant_merchant_userlist: "登录用户列表",
  ExAssistant_merchant_kyc: "商户KYC资料",
  ExAssistant_merchant_currency: "商户费率配置",

  payfaz_payassets_list: "资产列表",
  payfaz_payassets_records: "资产流水",
  payfaz_payassets_freezerecords: "保证金冻结记录",
  payfaz_payassets_usdmrecords: "USDM兑换记录",

  ExAssistant_payassets_list: "资产列表",
  ExAssistant_payassets_records: "资产流水",

  payfaz_payorders_list: "收单记录",
  payfaz_payorders_refunds: "退款记录",
  payfaz_payorders_dispute: "拒付记录",

  payfaz_recharge_order: "充值记录",
  payfaz_withdraw_order: "提现记录",
  payfaz_payment_order: "付款记录",
  payfaz_payment_customer: "付款客户",
  payfaz_customer_card: "客户银行卡",

  ExAssistant_recharge_order: "充值记录",
  ExAssistant_withdraw_order: "提现记录",
  ExAssistant_payment_order: "付款记录",
  ExAssistant_payment_customer: "付款客户",
  ExAssistant_customer_card: "客户银行卡",

  payfaz_exchange_entrust: "商户挂单",
  payfaz_exchange_order: "换汇记录",
  payfaz_merchantrate: "商户汇率",
  payfaz_baserate: "基础汇率",

  ExAssistant_exchange_order: "换汇记录",
  ExAssistant_merchantrate: "商户汇率",
  ExAssistant_baserate: "基础汇率",

  payfaz_wallet_mainnet: "主链管理",
  payfaz_wallet_tokens: "Token管理",
  payfaz_wallet_coins: "币种管理",
  payfaz_wallet_feeconfig: "费用配置",
  payfaz_wallet_margin: "资产列表",
  payfaz_wallet_marginrecord: "资产变动流水",
  payfaz_wallet_bills: "账单管理",
  payfaz_wallet_chainorders: "链上充提订单",
  payfaz_wallet_addresslib: "地址库",
  payfaz_wallet_useraddress: "用户地址",
  payfaz_wallet_usdm: "USDM购买管理",

  payfaz_swap_symbol: "交易对",
  payfaz_swap_order: "兑换订单",
  payfaz_swap_entrust: "商户挂单",

  // payfaz_cards_credit: "授信",
  payfaz_cards_config: "商户开卡配置",
  payfaz_cards_config: "商户费用配置",
  payfaz_cards_currency: "开卡币种",
  payfaz_cards_accounts: "卡账户",
  payfaz_cards_accounts_records: "卡账户流水",
  payfaz_cards_records: "卡账户记录",
  // payfaz_cards_holders: "持卡人",
  payfaz_cards_list: "卡片",
  payfaz_cards_transactions: "卡消费明细",
  payfaz_cards_offline_operate: "线下卡操作申请",

  payfaz_halocards_config: "商户开卡配置",
  payfaz_halocards_feeconfig: "商户费用配置",
  payfaz_halocards_currency: "开卡币种",
  payfaz_halocards_credit: "Halo卡产品",
  payfaz_halocards_accounts: "卡账户",
  payfaz_halocards_accounts_records: "卡账户流水",
  payfaz_halocards_records: "卡账户记录",
  payfaz_halocards_list: "卡片列表",
  payfaz_halocards_transactions: "卡消费明细",

  payfaz_stats_recharge: "充值统计",
  payfaz_stats_payment: "付款统计",
  payfaz_stats_withdraw: "提现统计",
  payfaz_stats_exchange: "换汇统计",
  payfaz_stats_snapshot: "资产快照",
  payfaz_payassets_assetstats: "商户账户统计",

  ExAssistant_stats_recharge: "充值统计",
  ExAssistant_stats_payment: "付款统计",
  ExAssistant_stats_withdraw: "提现统计",
  ExAssistant_stats_exchange: "换汇统计",
  ExAssistant_stats_snapshot: "资产快照",
  ExAssistant_payassets_assetstats: "商户账户统计",
};

//导航权限下拉菜单
export const permissionMenu = [
  //系统菜单
  {
    value: "payfaz",
    label: "PayFaz",
    children: [
      {
        value: "payfaz_settings",
        label: "平台设置",
        children: [
          {
            value: "payfaz_settings_paychannels",
            label: "支付通道",
          },
          {
            value: "payfaz_settings_paychannelcountry",
            label: "通道支持国家",
          },
          {
            value: "payfaz_settings_syscompany",
            label: "公司主体管理",
          },
          {
            value: "payfaz_settings_merrechargecard",
            label: "商户充值账号管理",
          },
          {
            value: "payfaz_settings_sysbanks",
            label: "平台银行账户",
          },
          {
            value: "payfaz_settings_currency",
            label: "法币币种",
          },
        ],
      },
      {
        value: "payfaz_merchant",
        label: "商户管理",
        children: [
          {
            value: "payfaz_merchant_channels",
            label: "商户支付通道",
          },
          {
            value: "payfaz_merchant_list",
            label: "商户列表",
          },
          {
            value: "payfaz_common_user_list",
            label: "普通用户列表",
          },
          {
            value: "payfaz_merchant_userlist",
            label: "登录账号",
          },
          {
            value: "payfaz_merchant_kyc",
            label: "商户KYC资料",
          },
          {
            value: "payfaz_merchant_currency",
            label: "商户费率配置",
          },
        ],
      },
      {
        value: "payfaz_review",
        label: "审核管理",
        children: [
          {
            value: "payfaz_review_rules",
            label: "审核规则",
          },
          {
            value: "payfaz_review_groups",
            label: "审核组",
          },
          {
            value: "payfaz_review_user",
            label: "审核人员",
          },
          {
            value: "payfaz_review_walletsend",
            label: "钱包提币审核",
          },
          {
            value: "payfaz_review_recharge",
            label: "充值审核",
          },
          {
            value: "payfaz_review_withdraw",
            label: "提现审核",
          },
          {
            value: "payfaz_review_payment",
            label: "付款审核",
          },
          {
            value: "payfaz_review_customer",
            label: "客户审核",
          },
        ],
      },
      {
        value: "payfaz_payassets",
        label: "商户资产",
        children: [
          {
            value: "payfaz_payassets_list",
            label: "资产列表",
          },
          {
            value: "payfaz_payassets_records",
            label: "资产流水",
          },
          {
            value: "payfaz_payassets_freezerecords",
            label: "保证金冻结记录",
          },
          {
            value: "payfaz_payassets_usdmrecords",
            label: "USDM兑换记录",
          },
          {
            value: "payfaz_payassets_assetstats",
            label: "商户财务统计",
          },
        ],
      },
      {
        value: "payfaz_payorders",
        label: "收单管理",
        children: [
          {
            value: "payfaz_payorders_list",
            label: "收单记录",
          },
          {
            value: "payfaz_payorders_refunds",
            label: "退款记录",
          },
          {
            value: "payfaz_payorders_dispute",
            label: "拒付记录",
          },
        ],
      },
      {
        value: "payfaz_recharge",
        label: "充值管理",
        children: [
          {
            value: "payfaz_recharge_order",
            label: "充值记录",
          },
        ],
      },
      {
        value: "payfaz_withdraw",
        label: "提现管理",
        children: [
          {
            value: "payfaz_withdraw_order",
            label: "提现记录",
          },
        ],
      },
      {
        value: "payfaz_payment",
        label: "付款管理",
        children: [
          {
            value: "payfaz_payment_order",
            label: "付款记录",
          },
          {
            value: "payfaz_payment_customer",
            label: "付款客户",
          },
          {
            value: "payfaz_customer_card",
            label: "客户银行卡",
          },
        ],
      },
      {
        value: "payfaz_exchangeManagement",
        label: "换汇管理",
        children: [
          // {
          //   value: "payfaz_exchange_entrust",
          //   label: "商户挂单",
          // },
          {
            value: "payfaz_exchange_records",
            label: "换汇订单",
          },
          {
            value: "payfaz_merchantrate",
            label: "商户汇率设置",
          },
          {
            value: "payfaz_baserate",
            label: "基础汇率",
          },
        ],
      },
      {
        value: "payfaz_walletManagement",
        label: "钱包管理",
        children: [
          {
            value: "payfaz_wallet_mainnet",
            label: "主链管理",
          },
          {
            value: "payfaz_wallet_tokens",
            label: "Token管理",
          },
          {
            value: "payfaz_wallet_coins",
            label: "币种管理",
          },
          {
            value: "payfaz_wallet_feeconfig",
            label: "费用配置",
          },
          {
            value: "payfaz_wallet_margin",
            label: "资产列表",
          },
          {
            value: "payfaz_wallet_marginrecord",
            label: "资产变动流水",
          },
          {
            value: "payfaz_wallet_bills",
            label: "账单管理",
          },
          {
            value: "payfaz_wallet_chainorders",
            label: "链上充提订单",
          },
          {
            value: "payfaz_wallet_addresslib",
            label: "地址库",
          },
          {
            value: "payfaz_wallet_useraddress",
            label: "用户地址",
          },
          {
            value: "payfaz_wallet_usdm",
            label: "USDM购买管理",
          },
        ],
      },
      {
        value: "payfaz_swapManagement",
        label: "Swap管理",
        children: [
          {
            value: "payfaz_swap_symbol",
            label: "交易对",
          },
          {
            value: "payfaz_swap_order",
            label: "兑换订单",
          },
          {
            value: "payfaz_swap_entrust",
            label: "商户挂单",
          },
        ],
      },
      {
        value: "payfaz_cardsManagement",
        label: "云汇卡管理",
        children: [
          {
            value: "payfaz_cards_config",
            label: "商户开卡配置",
          },
          {
            value: "payfaz_cards_feeconfig",
            label: "商户费用配置",
          },
          {
            value: "payfaz_cards_currency",
            label: "开卡币种配置",
          },
          {
            value: "payfaz_cards_accounts",
            label: "卡账户",
          },
          {
            value: "payfaz_cards_accounts_records",
            label: "卡账户流水",
          },
          {
            value: "payfaz_cards_records",
            label: "卡账户记录",
          },
          // {
          //   value: "payfaz_cards_holders",
          //   label: "持卡人",
          // },
          {
            value: "payfaz_cards_list",
            label: "卡片列表",
          },
          {
            value: "payfaz_cards_transactions",
            label: "卡消费记录",
          },
          {
            value: "payfaz_cards_offline_operate",
            label: "线下卡操作申请",
          },
        ],
      },
      {
        value: "payfaz_halocardsManagement",
        label: "Halo卡管理",
        children: [
          {
            value: "payfaz_halocards_config",
            label: "商户开卡配置",
          },
          {
            value: "payfaz_halocards_feeconfig",
            label: "商户费用配置",
          },
          {
            value: "payfaz_halocards_currency",
            label: "开卡币种配置",
          },
          {
            value: "payfaz_halocards_accounts",
            label: "卡账户",
          },
          {
            value: "payfaz_halocards_credit",
            label: "Halo卡产品",
          },
          {
            value: "payfaz_halocards_accounts_records",
            label: "卡账户流水",
          },
          {
            value: "payfaz_halocards_records",
            label: "卡账户记录",
          },
          {
            value: "payfaz_halocards_list",
            label: "卡片列表",
          },
          {
            value: "payfaz_halocards_transactions",
            label: "卡消费记录",
          },
        ],
      },
      {
        value: "payfaz_statsManagement",
        label: "统计",
        children: [
          {
            value: "payfaz_stats_recharge",
            label: "充值统计",
          },
          {
            value: "payfaz_stats_payment",
            label: "付款统计",
          },
          {
            value: "payfaz_stats_withdraw",
            label: "提现统计",
          },
          {
            value: "payfaz_stats_exchange",
            label: "换汇统计",
          },
          {
            value: "payfaz_stats_snapshot",
            label: "资产快照",
          },
          {
            value: "payfaz_payassets_assetstats",
            label: "商户账户统计",
          },
        ],
      },
    ],
  },
  {
    value: "ExAssistant",
    label: "ExAssistant",
    children: [
      {
        value: "ExAssistant_settings",
        label: "平台设置",
        children: [
          {
            value: "ExAssistant_settings_syscompany",
            label: "公司主体管理",
          },
          {
            value: "ExAssistant_settings_merrechargecard",
            label: "商户充值账号管理",
          },
          {
            value: "ExAssistant_settings_sysbanks",
            label: "平台银行账户",
          },
          {
            value: "ExAssistant_settings_currency",
            label: "法币币种",
          },
        ],
      },
      {
        value: "ExAssistant_review",
        label: "审核管理",
        children: [
          {
            value: "ExAssistant_review_rules",
            label: "审核规则",
          },
          {
            value: "ExAssistant_review_groups",
            label: "审核组",
          },
          {
            value: "ExAssistant_review_user",
            label: "审核人员",
          },
          {
            value: "ExAssistant_review_recharge",
            label: "充值审核",
          },
          // {
          //   value: "ExAssistant_review_withdraw",
          //   label: "提现审核",
          // },
          {
            value: "ExAssistant_review_payment",
            label: "付款审核",
          },
          {
            value: "ExAssistant_review_customer",
            label: "客户审核",
          },
        ],
      },

      {
        value: "ExAssistant_merchant",
        label: "商户管理",
        children: [
          {
            value: "ExAssistant_merchant_list",
            label: "商户列表",
          },
          {
            value: "ExAssistant_merchant_userlist",
            label: "登录用户列表",
          },
          {
            value: "ExAssistant_merchant_kyc",
            label: "商户KYC资料",
          },
          {
            value: "ExAssistant_merchant_currency",
            label: "商户费率配置",
          },
        ],
      },
      {
        value: "ExAssistant_payassets",
        label: "商户资产",
        children: [
          {
            value: "ExAssistant_payassets_list",
            label: "资产列表",
          },
          {
            value: "ExAssistant_payassets_records",
            label: "资产流水",
          },
        ],
      },
      {
        value: "ExAssistant_recharge",
        label: "充值管理",
        children: [
          {
            value: "ExAssistant_recharge_order",
            label: "充值记录",
          },
        ],
      },
      // {
      //   value: "ExAssistant_withdraw",
      //   label: "提现管理",
      //   children: [
      //     {
      //       value: "ExAssistant_withdraw_order",
      //       label: "提现记录",
      //     },
      //   ],
      // },
      {
        value: "ExAssistant_payment",
        label: "付款管理",
        children: [
          {
            value: "ExAssistant_payment_order",
            label: "付款记录",
          },
          {
            value: "ExAssistant_payment_customer",
            label: "付款客户",
          },
          {
            value: "ExAssistant_customer_card",
            label: "客户银行卡",
          },
        ],
      },
      {
        value: "ExAssistant_exchangeManagement",
        label: "换汇管理",
        children: [
          {
            value: "ExAssistant_exchange_order",
            label: "换汇记录",
          },
          {
            value: "ExAssistant_merchantrate",
            label: "商户汇率",
          },
          {
            value: "ExAssistant_baserate",
            label: "基础汇率",
          },
        ],
      },
      {
        value: "ExAssistant_statsManagement",
        label: "统计",
        children: [
          {
            value: "ExAssistant_stats_recharge",
            label: "充值统计",
          },
          {
            value: "ExAssistant_stats_payment",
            label: "付款统计",
          },
          {
            value: "ExAssistant_stats_exchange",
            label: "换汇统计",
          },
          {
            value: "ExAssistant_stats_snapshot",
            label: "资产快照",
          },
          {
            value: "ExAssistant_payassets_assetstats",
            label: "商户账户统计",
          },
        ],
      },
    ],
  },
  //系统菜单
  {
    value: "admin",
    label: "系统设置",
    children: [
      {
        value: "admin-user",
        label: "管理员列表",
      },
      {
        value: "admin-logs",
        label: "操作日志",
      },
      {
        value: "admin-project",
        label: "项目列表",
      },
      {
        value: "admin-permission",
        label: "权限列表",
      },
      {
        value: "admin-group",
        label: "权限组列表",
      },
    ],
  },
  //
];
